export enum Target {
    ACCEPT,
    REJECT,
}
export enum Protocol {
    ICMP_V4 = 1,
    TCP = 6,
    UDP = 17,
    ICMP_V6 = 58,
    MAX = 256,
}

export enum Direction{
    INPUT,OUTPUT
}

export enum Priority{
    Low,High
}

export interface Rule{
    direction:Direction
    target:Target,
    num:number,
    protocol:Protocol,
    src:string;
    sport:number;
    dst:string;
    dport:number;
}


export interface RuleDelete{
    chain:Direction,
    num:number
}

